﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

[AAutoQuote]
public class TestAutoRef : MonoBehaviour
{

    [SerializeField]
    public Button mOK1;
    [SerializeField]
    public Button mOK2;

    public void Init()
    { 
        //Start
		mOK1 = transform.Find("Canvas/OK1").gameObject.GetComponent<Button>();
		mOK2 = transform.Find("Canvas/Image/OK2").gameObject.GetComponent<Button>();

		//End


        //你是SB
    }

    // Use this for initialization
    void Start()
    {
        Init();
    }

    // Update is called once per frame
    void Update()
    {

    }
}
